package com.ton.system.entity;

import com.kypj.frame.db.annotation.MyPk;
import lombok.Data;

//  admin_user_permission
@Data
public class AdminUserPermission {
    @MyPk
    private Integer id;  // id int(11)
    private Integer adminUserId;  // admin_user_id int(11)   admin_user.id
    private Integer permissionId;  // permission_id int(11)   admin_permission.id


    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getId() {
        return id;
    }

    public void setAdminUserId(Integer adminUserId) {
        this.adminUserId = adminUserId;
    }

    public Integer getAdminUserId() {
        return adminUserId;
    }

    public void setPermissionId(Integer permissionId) {
        this.permissionId = permissionId;
    }

    public Integer getPermissionId() {
        return permissionId;
    }

    @Override
    public String toString() {
        return "id=" + id + "," + "adminUserId=" + adminUserId + "," + "permissionId=" + permissionId;
    }
}
